﻿@using Presentation.Web.Admin
<section id="secondary_bar">
		<div class="user">
            @Html.Partial("_LogOnPartial")
		</div>
		<div class="breadcrumbs_container">
			<article class="breadcrumbs">
            <a href="javascript:;">当前页</a> 
            <div class="breadcrumb_divider"></div> 
            <a class="current">@(ViewBag.subtitle)</a>
            </article>
		</div>
</section>
<!-- end of secondary bar -->
<aside id="sidebar" class="column">
		@*<form class="quick_search" action="">
			<input type="text" value="Quick Search" onfocus="if(!this._haschanged){this.value=''};this._haschanged=true;">
		</form>
		<hr/>*@
        @{
            var work = Presentation.Web.Admin.PreAdminEngine.Resolve<Infrastructure.Crosscutting.NetFramework.IWorkContext>();
            if (work != null)
            {
                @Html.TreeView(work.RoleMenuCache.AsEnumerable())
            }
        }
        
		<footer>
            <br />
            <hr />
            <p><strong>Copyright &copy; 2012 iMap</strong></p>
            <p><a href="http://www.ipow.cn">www.ipow.cn</a></p>
		</footer>
	</aside>
<!-- end of sidebar -->
